MailPoet\API\JSON\v1\Settings A

Total Complexity 57
Dependencies 26
Dependents 2
Total lines 438
Lines of code 289
Logical lines of code 159
Comment lines 40
Methods 16
Properties 18

Methods 16

Method Rating Maintainability Complexity Lines of code
onSettingsChange()
A
47 11 36
set()
A
48 7 34
verifyAuthorizedSenderDomain()
S
51 5 28
authorizeSenderEmailAddress()
S
53 5 24
createAuthorizedSenderDomain()
S
53 4 23
setAuthorizedFromAddress()
S
55 4 20
updateReEngagementEmailStatus()
S
59 4 15
deactivateReEngagementEmails()
S
57 3 18
recalculateSubscribersCountsCache()
S
62 3 12
recalculateSubscribersScore()
S
57 2 17
confirmSenderEmailAddressIsAuthorized()
S
62 2 11
checkDomainDmarcPolicy()
S
62 2 11
getAuthorizedSenderDomains()
S
62 2 11
__construct()
S
55 1 19
get()
S
80 1 3
reactivateReEngagementEmails()
S
68 1 7